package com.woniu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.entity.PageData;
import com.woniu.entity.dto.QueryRoadDTO;
import com.woniu.pojo.Inspector;
import com.woniu.pojo.Road;

/**
* @author Ma.Lei
* @description 针对表【t_road】的数据库操作Service
* @createDate 2022-12-16 23:28:21
*/
public interface RoadService extends IService<Road> {

    String getIdByName(String roadName);

    PageData listSearch(Integer currentPage, Integer pageSize, QueryRoadDTO queryRoadDTO);

    Inspector getByInspectorName(String id);
}
